package com.dt76.smallloanbackendservice.service.xiaohao.impl;

import com.dt76.smallloanbackendservice.mapper.xiaohao.CheckStateMapper;
import com.dt76.smallloanbackendservice.pojo.xiaohao.CheckState;
import com.dt76.smallloanbackendservice.service.xiaohao.CheckStateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CheckStateServiceImpl implements CheckStateService {

    @Autowired
    private CheckStateMapper checkStateMapper;

    @Override
    public List<CheckState> qryAllCheckStateByID(int id) {
        return checkStateMapper.qryAllCheckStateById(id);
    }

    @Override
    public int addCheckState(CheckState checkState) {
        return checkStateMapper.addCheckState(checkState);
    }
}
